﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//using EntityLayer0;
using System.IO;
using Bu_layer;

namespace Control_layer
{
    public class UC_login
    {
        DownloadDataManager downloadManager = new DownloadDataManager();

        public UC_login()
        {

        }

        

        //public FileInfo[] getFiles()
        //{
        //    FileInfo[] filesInfo = login.getFiles();
        //    return filesInfo;
        //}

        //public byte[] GetBytesFromFile()
        //{
        //    // this method is limited to 2^32 byte files (4.2 GB)

        //    byte[] bytes = login.GetBytesFromFile();
        //    return bytes;

        //}

        public void AddFileInfo()
        {
            downloadManager.GetFileInfoBase();
        }
    }
}
